package com.helen.mybatis.executor;

import com.helen.mybatis.configration.MappedStatement;

import java.util.List;

/**
 * @author helenlee
 * @date 2020/4/8
 */
public interface Executor {
    <E> List<E> query(MappedStatement ms, Object[] parameter) throws Exception;

    int update(MappedStatement ms, Object[] parameter) throws Exception;

}
